package com.ruoyi.web.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 参数和文件保存表
 * </p>
 *
 * @author liuhl
 * @since 2024-05-14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("PARAM_FILE_SAVE")
@ApiModel(value = "ParamFileSave对象", description = "参数和文件保存表")
public class ParamFileSave extends Model<ParamFileSave> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private BigInteger id;

    @ApiModelProperty("参数集合")
    @TableField("PARAMS")
    private String params;

    @ApiModelProperty("结果文件路径")
    @TableField("FILE_PATH")
    private String filePath;

    @ApiModelProperty("创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
